#pragma once

#define  MAX_PACKET_LEN 131072
//////////////////////////////////////////////////////////////////////////
// Device names

#define CONTROL_DEVICE_NAME          L"\\Device\\CtrlUsbSniffer"
#define CONTROL_DEVICE_SYMB_LINK     L"\\??\\CtrlUsbSniffer"
#define CONTROL_DEVICE_DOS_NAME      L"\\\\.\\CtrlUsbSniffer"

//////////////////////////////////////////////////////////////////////////
// IOCTLS

#define IOCTL_SET_TRANSPORT_PACKET	CTL_CODE(FILE_DEVICE_UNKNOWN, 0x800, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
#define IOCTL_BEGIN_LOG				CTL_CODE(FILE_DEVICE_UNKNOWN, 0x801, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
#define IOCTL_STOP_LOG				CTL_CODE(FILE_DEVICE_UNKNOWN, 0x802, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
#define IOCTL_WATCH_DEVICE			CTL_CODE(FILE_DEVICE_UNKNOWN, 0x803, METHOD_IN_DIRECT, FILE_ANY_ACCESS)
#define IOCTL_STOP_WATCH_DEVICE		CTL_CODE(FILE_DEVICE_UNKNOWN, 0x804, METHOD_IN_DIRECT, FILE_ANY_ACCESS)


//////////////////////////////////////////////////////////////////////////
/// Other
#define  DRIVERNAME "USBSNIFFER" 